# -*- coding: utf-8 -*-

#教师角色：管理员、咨询教师（查看学生预约信息和添加反馈信息）
ROLE_ADMIN = 1
ROLE_TEACHER = 2

#学生预约状态
CONSULT_TODO = 1 #预约成功，待咨询
CONSULT_COMPLETE = 2 #预约完成
CONSULT_CANCEL = 3 #预约被取消

#学生状态
STU_INIT = 1 #注册成功
STU_NORMAL = 2 #已登记基本信息
STU_BLACK = 3 #加入黑名单
STU_ARRANGED = 4

#校区
DISTRICT_GULOU = 1 #鼓楼校区
DISTRICT_XIANLIN = 2 #仙林校区

INVALID_TAG = -1

COOKIE_VALID_PERIOD = 300000

ALLOWED_IMAGE_EXT = set(['png', 'jpg', 'PNG', 'JPG', 'jpeg', 'JPEG'])